package io.gitee.thinkbungee.mybatis.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.gitee.thinkbungee.mybatis.dao.TestDicDao;
import io.gitee.thinkbungee.mybatis.entity.TestDicEntity;
import io.gitee.thinkbungee.mybatis.service.TestDicService;
import io.gitee.thinkbungee.mybatis.utils.QueryUtils;
import org.springframework.stereotype.Service;

import java.util.Map;


/**
 * @author chenyichang
 * @email 820117089@qq.com
 * @date 2022-05-25 18:25:32
 */
@Service("testDicService")
public class TestDicServiceImpl extends ServiceImpl<TestDicDao, TestDicEntity> implements TestDicService {

    @Override
    public IPage queryPage(Map<String, Object> params) {
        IPage page = this.page(QueryUtils.getPage(params),
                new QueryWrapper<TestDicEntity>());
        return page;
    }
}
